/*
 * @Author: wangdazhuang
 * @Date: 2024-10-17 20:38:58
 * @LastEditTime: 2024-10-17 20:50:51
 * @LastEditors: wangdazhuang
 * @Description: 
 * @FilePath: /pornhub_app/lib/src/views/mine/profit/dynamic/profit_dynamic.dart
 */
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:pornhub_app/utils/extension.dart';
import 'package:pornhub_app/views/mine/profit/announcement.dart';
import 'package:pornhub_app/views/mine/profit/dynamic/profit_dynamic_list.dart';

import 'package:pornhub_app/views/mine/profit/profit_header.dart';

class ProfitDynamic extends StatelessWidget {
  const ProfitDynamic({super.key});

  @override
  Widget build(Object context) {
    return CustomScrollView(slivers: [
      const Column(
        crossAxisAlignment: CrossAxisAlignment.center,
        mainAxisSize: MainAxisSize.min,
        children: [
          ProfitHeader(),
          ProfitAnnouncement(),
        ],
      ).marginBottom(15.w).sliver,
      const ProfitDynamicList(),
    ]);
  }
}
